/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dnbW.dbW.sucxentdbW;

import dnbW.dbW.DataSource;
import dnbW.dbW.DatabaseInfo;

/**
 * Encapsulates a SUCXENT++ data source
 * @author truongbaquan
 */
public class SucxentDataSource extends DataSource {
    // <editor-fold defaultstate="collapsed" desc="Leaf Path Manager">
    private LeafPathManager leafPathManager;

    /**
     * Get the value of leafPathManager
     *
     * @return the value of leafPathManager
     */
    public LeafPathManager getLeafPathManager() {
        return leafPathManager;
    }

    /**
     * Set the value of leafPathManager
     *
     * @param leafPathManager new value of leafPathManager
     */
    public void setLeafPathManager(LeafPathManager leafPathManager) {
        this.leafPathManager = leafPathManager;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Cardinality Manager">
    private CardinalityManager cardinalityManager;

    /**
     * Get the value of CardinalityManager
     *
     * @return the value of CardinalityManager
     */
    public CardinalityManager getCardinalityManager() {
        return cardinalityManager;
    }

    /**
     * Set the value of CardinalityManager
     *
     * @param CardinalityManager new value of CardinalityManager
     */
    public void setCardinalityManager(CardinalityManager CardinalityManager) {
        this.cardinalityManager = CardinalityManager;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Key Manager">
    private KeyAttributesManager keyManager;

    /**
     * Get the value of keyManager
     *
     * @return the value of keyManager
     */
    public KeyAttributesManager getKeyManager() {
        return keyManager;
    }

    /**
     * Set the value of keyManager
     *
     * @param keyManager new value of keyManager
     */
    public void setKeyManager(KeyAttributesManager keyManager) {
        this.keyManager = keyManager;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Entity Manager">
    private EntityManager entityManager;

    /**
     * Get the value of entityManager
     *
     * @return the value of entityManager
     */
    public EntityManager getEntityManager() {
        return entityManager;
    }

    /**
     * Set the value of entityManager
     *
     * @param entityManager new value of entityManager
     */
    public void setEntityManager(EntityManager entityManager) {
        this.entityManager = entityManager;
    }
    // </editor-fold>

    public SucxentDataSource(DatabaseInfo database, String name) {
        super(database, name);
    }
}
